<?php
/*
Plugin Name: Some Hacks
Plugin URI: http://wanwp.com
Description: This plugin include some hacks for close REVISIONS and CODEPRESS.
Author: bingu
Version: 1.0
Author URI: http://bingu.net/
*/

/**
 * Set define WP_POST_REVISIONS to zero
 */
define ('WP_POST_REVISIONS', 0);

/**
 * Remove revisions actions in post.php
 */
remove_action('pre_post_update', 'wp_save_post_revision');

/**
 * Disable code highlight in theme and plugin  editor
*/
wp_deregister_script('codepress');

/* End of file somehacks.php */
/* Location: ./somehacks.php */